#include "Menu.h"
#include <iostream>

void initialize()
{



}

char AskQuestion(std::string& question)
{
	char choixEntree;
	char SelectionArray[17][1];

	SelectionArray[0][0] = 'P';
	SelectionArray[0][1] = '1';
	SelectionArray[1][0] = 'P';
	SelectionArray[1][1] = '2';
	SelectionArray[2][0] = 'P';
	SelectionArray[2][1] = '3';
	SelectionArray[3][0] = 'P';
	SelectionArray[3][1] = '4';
	SelectionArray[4][0] = 'P';
	SelectionArray[4][1] = '5';
	SelectionArray[5][0] = 'P';
	SelectionArray[5][1] = '6';
	SelectionArray[6][0] = 'P';
	SelectionArray[6][1] = '7';
	SelectionArray[7][0] = 'P';
	SelectionArray[7][1] = '8';
	SelectionArray[8][0] = 'C';
	SelectionArray[8][1] = '1';
	SelectionArray[9][0] = 'C';
	SelectionArray[9][1] = '2';
	SelectionArray[10][0] = 'C';
	SelectionArray[10][1] = '3';
	SelectionArray[11][0] = 'C';
	SelectionArray[11][1] = '4';
	SelectionArray[12][0] = 'C';
	SelectionArray[12][1] = '5';
	SelectionArray[13][0] = 'C';
	SelectionArray[13][1] = '6';
	SelectionArray[14][0] = 'C';
	SelectionArray[14][1] = '7';
	SelectionArray[15][0] = 'S';
	SelectionArray[15][1] = '1';
	SelectionArray[16][0] = 'H';
	SelectionArray[16][1] = '1';
	SelectionArray[17][0] = 'D';
	SelectionArray[17][1] = '1';


	std::cout << " Choose the card position you want to move" << std::endl;
	do
	{
		std::cin >> choixEntree;

		if (choixEntree != 'P' || choixEntree != 'C' || choixEntree != 'S' || choixEntree != 'H' || choixEntree != 'D')

		{
			std::cout << "Erreur d'entree veuillez reselectionner la position." << std::endl;
		}
	} while (choixEntree != 'P' || choixEntree != 'C' || choixEntree != 'S' || choixEntree != 'H' || choixEntree != 'D');
	return choixEntree;
}